package com.ktgj.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单操作记录
对象 order_operationlog
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class OrderOperationlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long operationId;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderNumber;

    /** 订单明细id */
    @Excel(name = "订单明细id")
    private Long orderitemId;

    /** 操作名称 */
    @Excel(name = "操作名称")
    private String operationName;

    /** 1 会员 2 员工 3 Web */
    @Excel(name = "1 会员 2 员工 3 Web")
    private String operationType;

    /** 内容 */
    @Excel(name = "内容")
    private String memo;

    /** 异常订单 */
    @Excel(name = "异常订单")
    private String invalidOrder;

    /** 0 未成功 1 成功 */
    @Excel(name = "0 未成功 1 成功")
    private String operationResult;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorName;

    /** 操作人id */
    @Excel(name = "操作人id")
    private Long operatorId;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completionTime;

    public void setOperationId(Long operationId) 
    {
        this.operationId = operationId;
    }

    public Long getOperationId() 
    {
        return operationId;
    }
    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOrderitemId(Long orderitemId) 
    {
        this.orderitemId = orderitemId;
    }

    public Long getOrderitemId() 
    {
        return orderitemId;
    }
    public void setOperationName(String operationName) 
    {
        this.operationName = operationName;
    }

    public String getOperationName() 
    {
        return operationName;
    }
    public void setOperationType(String operationType) 
    {
        this.operationType = operationType;
    }

    public String getOperationType() 
    {
        return operationType;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setInvalidOrder(String invalidOrder) 
    {
        this.invalidOrder = invalidOrder;
    }

    public String getInvalidOrder() 
    {
        return invalidOrder;
    }
    public void setOperationResult(String operationResult) 
    {
        this.operationResult = operationResult;
    }

    public String getOperationResult() 
    {
        return operationResult;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }
    public void setCompletionTime(Date completionTime) 
    {
        this.completionTime = completionTime;
    }

    public Date getCompletionTime() 
    {
        return completionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("operationId", getOperationId())
            .append("orderNumber", getOrderNumber())
            .append("orderitemId", getOrderitemId())
            .append("operationName", getOperationName())
            .append("operationType", getOperationType())
            .append("memo", getMemo())
            .append("createTime", getCreateTime())
            .append("invalidOrder", getInvalidOrder())
            .append("operationResult", getOperationResult())
            .append("operatorName", getOperatorName())
            .append("operatorId", getOperatorId())
            .append("completionTime", getCompletionTime())
            .toString();
    }
}
